package com.todod.model;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @param
 * @author suleilei
 * @date 2020/11/20 10:16
 */

@TableName("LTCLOUD_ZSGL_DB_DEV.base_file")
public class BaseFile {
	/** 主键 */
	@TableId("bf_pk_id")
	private Long id;
	/** 原始的名称 */
	@TableField("bf_original_name_na")
	private String originalName;
	/** 新名称 */
	@TableField("bf_file_name_na")
	private String fileName;
	/** 后缀 */
	@TableField("bf_suffix_na")
	private String suffix;
	/** 大小 */
	@TableField("bf_file_size_in")
	private Long fileSize;
	/** 绝对路径 */
	@TableField("bf_abstract_path_na")
	private String abstractPath;
	/** 相对路径 */
	@TableField("bf_relative_path_na")
	private String relativePath;
	/** 关联表id */
	@TableField("bf_link_id")
	private Long linkId;
	/** 状态 */
	@TableField("bf_status")
	private Long status;
	/** 排序 */
	@TableField("bf_sort_num")
	private Integer sortNum;
	/** 文件类型（pdf,img，other） */
	@TableField("bf_file_type")
	private String fileType;
	/** 创建用户id */
	@TableField("bf_createuser_id")
	private Long createuserId;
	/** 创建时间 */
	@TableField("bf_create_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime createtimeTi;
	/** 修改用户名id */
	@TableField("bf_modifyuser_id")
	private Long modifyuserId;
	/** 修改时间 */
	@TableField("bf_modify_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime modifytimeTi;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getOriginalName() {
		return originalName;
	}

	public void setOriginalName(String originalName) {
		this.originalName = originalName;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getSuffix() {
		return suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	public Long getFileSize() {
		return fileSize;
	}

	public void setFileSize(Long fileSize) {
		this.fileSize = fileSize;
	}

	public String getAbstractPath() {
		return abstractPath;
	}

	public void setAbstractPath(String abstractPath) {
		this.abstractPath = abstractPath;
	}

	public String getRelativePath() {
		return relativePath;
	}

	public void setRelativePath(String relativePath) {
		this.relativePath = relativePath;
	}

	public Long getLinkId() {
		return linkId;
	}

	public void setLinkId(Long linkId) {
		this.linkId = linkId;
	}

	public Long getStatus() {
		return status;
	}

	public void setStatus(Long status) {
		this.status = status;
	}

	public Integer getSortNum() {
		return sortNum;
	}

	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public Long getCreateuserId() {
		return createuserId;
	}

	public void setCreateuserId(Long createuserId) {
		this.createuserId = createuserId;
	}

	public LocalDateTime getCreatetimeTi() {
		return createtimeTi;
	}

	public void setCreatetimeTi(LocalDateTime createtimeTi) {
		this.createtimeTi = createtimeTi;
	}

	public Long getModifyuserId() {
		return modifyuserId;
	}

	public void setModifyuserId(Long modifyuserId) {
		this.modifyuserId = modifyuserId;
	}

	public LocalDateTime getModifytimeTi() {
		return modifytimeTi;
	}

	public void setModifytimeTi(LocalDateTime modifytimeTi) {
		this.modifytimeTi = modifytimeTi;
	}

}
